a=eval(input("请输入数字"))
for i in range(1,a+1):
    #i个星号
    s='*'*i
    print(s.rjust(a,' '))
for j in range(a-1,0,-1):
    s = '*'*j
    print(s.rjust(a,' '))